package pl.planito.company.manager;

import java.util.List;

import pl.planito.exceptions.InventoryEditException;

public interface ICompanyEditor {
	/**
	 * This method get information about all companies which
	 * are placed in company table in database;
	 * 
	 * @return
	 */
	public List<CompanyBridge> getAllCompanies() throws InventoryEditException;
	
	/**
	 * Add exactly one record to database to table Company
	 * 
	 * @param company
	 */
	public void addCompany(CompanyBridge company) throws InventoryEditException;
	
	/**
	 * Edit a one record from database which is responsible for 
	 * one company data. 
	 * 
	 * @param id
	 * @return
	 */
	public CompanyBridge editCompany(String id) throws InventoryEditException;
}
